<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
 <script>
   var obj1 = {
    aaa: 100

   }
   var obj2 = Object.create(obj1)
   console.log(obj2)
   //1.生成一个空对象
   //2.将空对象的原型设置成create方法接受的对象
 </script>   
</body>
</html>